﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MShop.Core.Domain
{
    
    
    public partial class Order
    {
        public decimal TotalSum
        {
            get
            {
                return this.OrderPrice * this.OrderNum;
            }
        }
    }

   
}